/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package luft27.comm.mavlink;

/**
 *
 * @author amalikov
 */
public final class Consts {
	public static final byte MAV_AUTOPILOT_GENERIC = 0;
	public static final byte MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY = 5;
	public static final byte MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY = 6;
	public static final byte MAV_AUTOPILOT_GENERIC_MISSION_FULL = 7;
	public static final byte MAV_AUTOPILOT_INVALID = 8;
	
	public static final byte MAV_TYPE_GENERIC = 0;
	public static final byte MAV_TYPE_FIXED_WING = 1;
	public static final byte MAV_TYPE_QUADROTOR = 2;
	public static final byte MAV_TYPE_COAXIAL = 3;
	public static final byte MAV_TYPE_HELICOPTER = 4;
	public static final byte MAV_TYPE_HEXAROTOR = 13;
	public static final byte MAV_TYPE_OCTOROTOR = 14;

	public static final byte MAV_MODE_PREFLIGHT = 0;
	public static final byte MAV_MODE_STABILIZE_ARMED = (byte)208;
	public static final byte MAV_MODE_MANUAL_ARMED = (byte)192;
	public static final byte MAV_MODE_GUIDED_ARMED = (byte)216;
	public static final byte MAV_MODE_AUTO_ARMED = (byte)220;
	
	public static final byte MAV_FRAME_GLOBAL = 0;
	public static final byte MAV_FRAME_LOCAL_NED = 1;
	public static final byte MAV_FRAME_MISSION = 2;
	public static final byte MAV_FRAME_GLOBAL_RELATIVE_ALT = 3;
	public static final byte MAV_FRAME_LOCAL_ENU = 4;
	
	public static final short MAV_CMD_NAV_WAYPOINT = 16;
	public static final short MAV_CMD_NAV_LOITER_UNLIM = 17;
	public static final short MAV_CMD_NAV_LOITER_TURNS = 18;
	public static final short MAV_CMD_NAV_LOITER_TIME = 19;
	public static final short MAV_CMD_NAV_RETURN_TO_LAUNCH = 20;
	public static final short MAV_CMD_NAV_LAND = 21;
	public static final short MAV_CMD_NAV_TAKEOFF = 22;
	public static final short MAV_CMD_NAV_LAST = 95;
	public static final short MAV_CMD_DO_SET_MODE = 176;
	public static final short MAV_CMD_DO_JUMP = 177;
	public static final short MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN = 246;
	
	public static final byte MAV_RESULT_ACCEPTED = 0;
	public static final byte MAV_RESULT_UNSUPPORTED = 3;
	public static final byte MAV_RESULT_FAILED = 4;
	
	public static final byte MAV_MISSION_ACCEPTED = 0;
	public static final byte MAV_MISSION_ERROR = 1;
}

